package com.hospital.workstation.service;

import com.hospital.workstation.domain.HisVitalSigns;
import com.hospital.workstation.domain.vo.HisVitalSignsVo;
import com.hospital.workstation.domain.bo.HisVitalSignsBo;
import com.hospital.common.core.page.TableDataInfo;
import com.hospital.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 生命体征Service接口
 *
 * @author whb
 * @date 2023-03-09
 */
public interface IHisVitalSignsService {

    /**
     * 查询生命体征
     */
    HisVitalSignsVo queryById(Long id);

    /**
     * 查询生命体征列表
     */
    TableDataInfo<HisVitalSignsVo> queryPageList(HisVitalSignsBo bo, PageQuery pageQuery);

    /**
     * 查询生命体征列表
     */
    List<HisVitalSignsVo> queryList(HisVitalSignsBo bo);

    /**
     * 新增生命体征
     */
    Boolean insertByBo(HisVitalSignsBo bo);

    /**
     * 修改生命体征
     */
    Boolean updateByBo(HisVitalSignsBo bo);

    /**
     * 校验并批量删除生命体征信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
